home *** CD-ROM | disk | FTP | other *** search
- /* mac06©1997 by HNS/DSITRI hns@computer.org
- ** dirent.h
- */
-
- #pragma once
-
- #include "sys/types.h"
- #include "limits.h"
-
- struct dirent
- {
- char d_name[NAME_MAX];
- ino_t d_node;
- };
-
- typedef struct
- {
- int fd;
- struct dirent de;
- } DIR;
-
- int closedir(DIR *d);
- DIR *opendir(const char *name);
- struct dirent *readdir(DIR *d);
- void rewinddir(DIR *d);
-
- /* EOF */